const radio = [
    { prop: 'label', explain: '绑定字段', type: 'string/number/boolean', optional: '', required: true },
    { prop: 'value', explain: '展示字段', type: 'string/number/boolean', optional: '', required: false },
    { prop: 'disabled', explain: '禁用', type: 'boolean', optional: '', required: false },
    { prop: 'border', explain: '边框', type: 'boolean', optional: '', required: false },
    { prop: 'size', explain: '大小(border为true时生效)', type: 'string', optional: 'medium / small / mini', required: false }
]
const radioButton = [
    { prop: 'label', explain: '绑定字段', type: 'string/number/boolean', optional: '', required: true },
    { prop: 'value', explain: '展示字段', type: 'string/number/boolean', optional: '', required: false },
    { prop: 'disabled', explain: '禁用', type: 'boolean', optional: '', required: false }
]
const checkbox = [
    { prop: 'label', explain: '绑定字段', type: 'string/number/boolean', optional: '', required: true },
    { prop: 'value', explain: '展示字段', type: 'string/number/boolean', optional: '', required: false },
    { prop: 'disabled', explain: '禁用', type: 'boolean', optional: '', required: false },
    { prop: 'border', explain: '边框', type: 'boolean', optional: '', required: false },
    { prop: 'size', explain: '大小(border为true时生效)', type: 'string', optional: 'medium / small / mini', required: false }
]
const checkboxButton = [
    { prop: 'label', explain: '绑定字段', type: 'string/number/boolean', optional: '', required: true },
    { prop: 'value', explain: '展示字段', type: 'string/number/boolean', optional: '', required: false },
    { prop: 'disabled', explain: '禁用', type: 'boolean', optional: '', required: false }
]
const select = [
    { prop: 'value', explain: '绑定字段', type: 'string/number/object', optional: '', required: true },
    { prop: 'label', explain: '展示字段', type: 'string/number', optional: '', required: false },
    { prop: 'disabled', explain: '禁用', type: 'boolean', optional: '', required: false },
    { prop: 'children', explain: '分组(最多两层)', type: 'object', optional: '', required: false }
]
const cascader = [
    { prop: 'value', explain: '绑定字段', type: 'string/number/object', optional: '', required: true },
    { prop: 'label', explain: '展示字段', type: 'string/number', optional: '', required: false },
    { prop: 'disabled', explain: '禁用', type: 'boolean', optional: '', required: false },
    { prop: 'children', explain: '子选项', type: 'array', optional: '', required: false }
]
const cascaderPanel = [
    { prop: 'value', explain: '绑定字段', type: 'string/number/object', optional: '', required: true },
    { prop: 'label', explain: '展示字段', type: 'string/number', optional: '', required: false },
    { prop: 'disabled', explain: '禁用', type: 'boolean', optional: '', required: false },
    { prop: 'children', explain: '子选项', type: 'array', optional: '', required: false }
]
const transfer = [
    { prop: 'key', explain: '唯一标识', type: 'string/number', optional: '', required: true },
    { prop: 'label', explain: '展示字段', type: 'string/number', optional: '', required: false },
    { prop: 'disabled', explain: '禁用', type: 'boolean', optional: '', required: false }
]
const tree = [
    { prop: 'id', explain: '唯一标识', type: 'string/number', optional: '默认为id', required: true },
    { prop: 'label', explain: '展示字段', type: 'string/number', optional: '', required: false },
    { prop: 'children', explain: '子选项', type: 'array', optional: '', required: false },
    { prop: 'disabled', explain: '禁用', type: 'boolean', optional: '', required: false }
]
const autocomplete = [
    { prop: 'value', explain: '输入建议对象中用于显示的键名', type: 'string/number', optional: '', required: false }
]
export const enumExplain = {
    radio: radio,
    Radio: radio,
    radioButton: radioButton,
    RadioButton: radioButton,
    checkbox: checkbox,
    Checkbox: checkbox,
    checkboxButton: checkboxButton,
    CheckboxButton: checkboxButton,
    select: select,
    Select: select,
    cascader: cascader,
    Cascader: cascader,
    cascaderPanel: cascaderPanel,
    CascaderPanel: cascaderPanel,
    transfer: transfer,
    Transfer: transfer,
    tree: tree,
    Tree: tree,
    autocomplete: autocomplete,
    Autocomplete: autocomplete
}
